<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生修改</title>
</head>
<body>
<h3>修改学生</h3>
<form action="update" method="post">
    <%--通过隐藏域传入id--%>
    <input type="hidden" name="sid" value="${student.sid}">
    <p>姓名:<input type="text" name="sname" value="${student.sname}"></p>
    <p>手机:<input type="text" name="phone" value="${student.phone}"></p>
    <p>年龄:<input type="text" name="age"  value="${student.age}"></p>
    <p><input type="submit" value="修改"></p>
</form>
</body>
</html>
